const fs = require('fs');
module.exports = {
    async process({ filePath }) {
        if (!fs.existsSync(filePath)) throw new Error('文件不存在');
        const content = fs.readFileSync(filePath, 'utf-8');
        return { content };
    }
};
